@extends('frontend/layouts/flaty_to_bootstrap')

@section('content.titley')
Create new ReAuction ::
@parent
@stop

    @section('content.breadcrumb.inner')
    <li><a href="{{  route('home') }}"><i class="icon-home"></i> Dashboard</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li><a href="{{  route('car_balance.re_auction.index') }}"><i class="icon-home"></i> ReAuction list</a><span class="divider"><i class="icon-angle-right"></i></span></li>
    <li class="active">New ReAuction </li>
    @stop

@section('content.main')

<p>{{ link_to_route('car_balance.re_auction.index', 'Back to ReAuction list', null, array('class' => 'btn btn-info')) }}</p>

<div class="row-fluid">
    {{ Form::open(array('route' => 'car_balance.re_auction.create', 'class' => 'form-horizontal')) }}

    <div  class="control-group {{ $errors->first('re_auction_apply_date', ' error') }}">
        <label class="control-label" for="re_auction_apply_date">Re Auction Apply Date</label>
        <div class="controls">
            <input class="" placeholder="Re Auction Apply Date" title="Re Auction Apply Date" name="re_auction_apply_date" type="text" value="{{ Input::old('re_auction_apply_date') }}">
            {{ $errors->first('re_auction_apply_date', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('re_auction_date', ' error') }}">
        <label class="control-label" for="re_auction_date">Re Auction Date</label>
        <div class="controls">
            <input class="" placeholder="Re Auction Date" title="Re Auction Date" name="re_auction_date" type="text" value="{{ Input::old('re_auction_date') }}">
            {{ $errors->first('re_auction_date', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('re_auction_fee', ' error') }}">
        <label class="control-label" for="re_auction_fee">Re Auction Fee</label>
        <div class="controls">
            <input class="" placeholder="Re Auction Fee" title="Re Auction Fee" name="re_auction_fee" type="text" value="{{ Input::old('re_auction_fee') }}">
            {{ $errors->first('re_auction_fee', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('re_auction_transport_fee', ' error') }}">
        <label class="control-label" for="re_auction_transport_fee">Re Auction Transport Fee</label>
        <div class="controls">
            <input class="" placeholder="Re Auction Transport Fee" title="Re Auction Transport Fee" name="re_auction_transport_fee" type="text" value="{{ Input::old('re_auction_transport_fee') }}">
            {{ $errors->first('re_auction_transport_fee', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div  class="control-group {{ $errors->first('status', ' error') }}">
        <label class="control-label" for="status">Status</label>
        <div class="controls">
            <input class="" placeholder="Status" title="Status" name="status" type="text" value="{{ Input::old('status') }}">
            {{ $errors->first('status', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div class="control-group {{ $errors->first('purchase_car_id', ' error') }}">
        <label class="control-label">Purchase Car</label>
        <div class="controls">
            {{ Form::select('purchase_car_id', $purchase_car_list, '', array('data-placeholder' => 'Purchase Car', 'class' => 'chosen span6', 'name' => 'purchase_car_id')) }}
            {{ $errors->first('purchase_car_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>
    <div class="control-group {{ $errors->first('service_company_id', ' error') }}">
        <label class="control-label">Service Company</label>
        <div class="controls">
            {{ Form::select('service_company_id', $service_company_list, '', array('data-placeholder' => 'Service Company', 'class' => 'chosen span6', 'name' => 'service_company_id')) }}
            {{ $errors->first('service_company_id', '<span class="help-inline">:message</span>') }}
        </div>
    </div>

    <div class="form-actions">
        {{  Form::submit('Submit', array('class' => 'btn btn-info')) }} &nbsp;&nbsp;
        {{  link_to_route('car_balance.re_auction.index', 'Cancel', null, array('class' => 'btn ')) }}
    </div>
    {{  Form::close() }}
@stop